/**
 * Copyright (c) 2017 All Rights Reserved, Jinxiudadi
 *
 * @Title: ICartFeignClient.java
 */
package com.applet.user.client;


import com.applet.code.util.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("message-server")
public interface SmsFeignClient {

    @RequestMapping(method = RequestMethod.POST, value = "/sms/sendSms")
    ResultResponse sendSms(@RequestParam("type") Integer type, @RequestParam("phone") String phone);
}
